import request  from '@/utils/api/request.js'
const Apiname = '/user'
export const userApi = {
	getAll:  ( where)=>{
		return request.get( Apiname+'/getAll',where)
	},
	getlist:  ( where)=>{
		return request.get( Apiname+'/getlist',where)
	},	
	create:  ( data)=>{
		return request.post( Apiname+'/create',data)	
	},
	update: ( data)=>{
		return request.put( Apiname+'/update',data)
	},	
	delete:  ( data)=>{
		return request.delete( Apiname+'/delete',data)
	},	
	info:  ( where)=>{
		return request.get( Apiname+'/info',where)
	},	
	status:  ( where)=>{
		return request.put( Apiname+'/status',where)
	}
}


